package qscript2;

import org.qscript.Script;
import org.qscript.errors.ErrorType;
import org.qscript.errors.Messages;
import org.qscript.events.ScriptEvent;

public class TurnEvent extends ScriptEvent {

	public TurnEvent(Script script, ErrorType etype, int lineNo, int pos, int width, Object[] extra) {
		super(script, etype, lineNo, pos, width, extra);
		message = Messages.build("Turning {0} degrees", extra[1]);
	}

}